import Vue from 'vue'
import Router from 'vue-router'
//import HelloWorld from '@/components/HelloWorld'
import Home from '../components/Home/Home.vue'
import Message from '../components/Message/Message.vue'
import My from '../components/My/My.vue'
import Video from '../components/Video/Video.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {path: '/',redirect:"/home",component: Home},
    {path: '/home',component: Home},
    {path: '/message',component: Message},
    {path: '/my',component: My},
    {path: '/video',component: Video}
  ],
  linkActiveClass:"router-active"
})
